<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
	<title>附件分类配置</title>
	<meta name="decorator" content="ani"/>
	<%@ include file="/webpage/include/bootstraptable.jsp"%>
	<%@ include file="stockRuleList.js"%>
	<style>
		#left {
			 -webkit-transition: width 0.5s;
                transition: width 0.5s;
		}
	</style>
	<link href="https://cdn.bootcss.com/bootstrap-switch/3.3.4/css/bootstrap3/bootstrap-switch.min.css" rel="stylesheet">
	<script src="https://cdn.bootcss.com/bootstrap-switch/3.3.4/js/bootstrap-switch.min.js"></script>
</head>
<body>

	<div class="wrapper wrapper-content">
	<div class="panel panel-primary">
	<div class="panel-heading">
		<h3 class="panel-title">档案列表</h3>
	</div>
	<div class="panel-body">
	<div class="row">
			<div id="left" class="col-sm-12">
				<!-- 搜索 -->
				<div id="search-collapse" class="collapse">
					<div class="accordion-inner">
						<form id="searchForm"  class="form form-horizontal well clearfix" >
							<div class="col-xs-12 col-sm-6 col-md-4">
								<label class="label-item single-overflow pull-left" title="类型：">档案类型：</label>
								<input id="label" name="label" class="form-control m-b"/>
							</div>
							<div class="col-xs-12 col-sm-6 col-md-4">
								<div style="margin-top:26px">
									<a  id="search" class="btn btn-primary btn-rounded  btn-bordered btn-sm"><i class="fa fa-search"></i> 查询</a>
									<a  id="reset" class="btn btn-primary btn-rounded  btn-bordered btn-sm" ><i class="fa fa-refresh"></i> 重置</a>
								</div>
							</div>
						</form>
					</div>
				</div>
				<!-- 表格 -->
				<table id="table"  class="table text-nowrap"
					   data-id-field="id">
				</table>
		    </div>

		    <div  id="right" class="panel panel-default col-sm-6" style="display:none">
				<div class="panel-heading">
					<h3 class="panel-title"><label>库存规则列表，单据类型: </label><font id="dictValueName"></font><input type="hidden" id="dictValueId"/></h3>
				</div>
				<div class="panel-body">
				 <div id="stockRuleToolbar">
					<button id="stockRuleButton"  class="btn btn-outline btn-primary" title="添加库存规则"><i class="fa fa-plus-circle"></i> 添加库存规则</button>
				</div>
				 <!-- 表格 -->
			    <table id="stockRuleTable" class="table text-nowrap"
			           data-toolbar="#stockRuleToolbar"
			           data-id-field="id">
			    </table>

			   </div>
			</div>

		   </div>
		   </div>
		   </div>
	</div>

</body>
</html>
